import request from '/@/utils/request'

// 部门列表
export const deptLists = (params?: any) => request.get('/auth/dept/lists', params);

// 部门列表全部
export const deptAll = (params?: any) => request.get('/auth/dept/all', params);

// 添加部门
export const deptAdd = (params?: any) => request.post('/auth/dept/add', params);

// 编辑部门
export const deptEdit = (params?: any) => request.post('/auth/dept/edit', params);

// 删除部门
export const deptDelete = (params?: any) => request.delete('/auth/dept/delete', params);

// 部门详情
export const deptDetail = (params?: any) => request.get('/auth/dept/detail', params);